package com.orilx.lowtea.user

import org.springframework.stereotype.Service
import javax.print.attribute.standard.RequestingUserName

@Service
class UserService {

    /**
     * 注册
     */
    fun register(payload: RegisterRequest.User): UserModel{
        TODO()
    }

    /**
     * 登录
     */
    fun login(payload: LoginRequest.User): UserModel{
        TODO()
    }

    /**
     * 获取用户信息
     */
    fun getProfile(userId: String?, username: String): ProfileModel{
        TODO()
    }

    /**
     * 更新个人信息
     */
    fun updateUser(userId: String, payload: UserUpdateRequest.User): UserModel{
        TODO()
    }

    fun getCurrentUser(userId: String): UserModel {
        TODO()
    }
}